function showPlaces(str_value)
{
	if (str_value=="")
  	{
  		document.getElementById("txtPlaces").innerHTML="";
  		return;
  	}
	if (window.XMLHttpRequest)
  	{// code for IE7+, Firefox, Chrome, Opera, Safari
  		xmlhttp=new XMLHttpRequest();
  	}
	else
  	{// code for IE6, IE5
  		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  	}
	xmlhttp.onreadystatechange=function()
  	{
  		if (xmlhttp.readyState==4 && xmlhttp.status==200)
    	{
    		document.getElementById("txtPlaces").innerHTML=xmlhttp.responseText;
   		}
  	}
	xmlhttp.open("GET","getPlaces.php?q="+str_value,true);
	
	xmlhttp.send();
}

function doLoad()
{
	if(loadinfo === true)
	{
		showPopWin('firstUse.php', 500, 300, null);
		showDynamic(document.getElementById("betyg").value);
	}
	else
	{
		showDynamic(document.getElementById("betyg").value);
	}
}

function DropValue(dropID)
{
	document.cookie = "checkValue=" + dropID;
	
	alert(document.cookie);
}